package com.sinosoft.ptas.control.dto;

import java.io.Serializable;
import java.util.List;

import com.sinosoft.ptas.entity.AuditEntity;
import com.sinosoft.ptas.entity.ReportEntity;
import com.sinosoft.ptas.entity.TargetsOfImplPhaseEntity;
import com.sinosoft.ptas.system.util.PtasObjectUtil;

/**
 * 申报表传输类
 * @author lianWuJun
 * @time   2017年2月18日 下午2:27:35
 */
public class ReportData implements Serializable{
	
	private static final long serialVersionUID = 1L;
	private String id;	//标识符
	private String year;//年度
	private String divisionCode;//省份行政区划代码
	private String nameOfSpecialProject;//专项名称
	private String centralDepartment;//中央主管部门
	private String implPhaseOfSpecialProject;//专项实施期
	private String provincialFinanceDepartment;//省级财政部门
	private String provincialGovernment;//省级主管部门
	private String fundsOfImplPhase;//实施期金额
	private String centralGrantsOfImplPhase;//实施期金额中央补助
	private String localGovernOfImplPhase;//实施期金额地方资金
	private String annualFunds;//年度金额
	private String centralGrantsOfAnnualFunds;//年度金额中央补助
	private String localGovernOfAnnualFunds;//年度金额地方资金
	private String projectStatus;//本项目状态
	private Integer timesOfReport;//同一项目申请的第几次
	private String auditResult;//评定结果（未评定，优，良，中，差）默认未评定，其他情况在添加审核表时进行对应的本项目状态的变化
	private String   commitTime;//点击提交的时间（代表申报时间，自动生成的）
	private String creater;//创建人
	private String   createTime;//创建时间
	private String updator;//更新人
	private String   updateTime;//更新时间
	
	private List<TargetsOfImplPhaseEntity>  targetPhaseList;//实施期目标表的集合 
	
	private List<AuditEntity> auditList;//审核表 
	
	private String filePath;//上传资金分配表的路径
	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public String getDivisionCode() {
		return divisionCode;
	}

	public void setDivisionCode(String divisionCode) {
		this.divisionCode = divisionCode;
	}

	public String getNameOfSpecialProject() {
		return nameOfSpecialProject;
	}

	public void setNameOfSpecialProject(String nameOfSpecialProject) {
		this.nameOfSpecialProject = nameOfSpecialProject;
	}

	public String getCentralDepartment() {
		return centralDepartment;
	}

	public void setCentralDepartment(String centralDepartment) {
		this.centralDepartment = centralDepartment;
	}

	public String getImplPhaseOfSpecialProject() {
		return implPhaseOfSpecialProject;
	}

	public void setImplPhaseOfSpecialProject(String implPhaseOfSpecialProject) {
		this.implPhaseOfSpecialProject = implPhaseOfSpecialProject;
	}

	public String getProvincialFinanceDepartment() {
		return provincialFinanceDepartment;
	}

	public void setProvincialFinanceDepartment(String provincialFinanceDepartment) {
		this.provincialFinanceDepartment = provincialFinanceDepartment;
	}

	public String getProvincialGovernment() {
		return provincialGovernment;
	}

	public void setProvincialGovernment(String provincialGovernment) {
		this.provincialGovernment = provincialGovernment;
	}

	public String getFundsOfImplPhase() {
		return fundsOfImplPhase;
	}

	public void setFundsOfImplPhase(String fundsOfImplPhase) {
		this.fundsOfImplPhase = fundsOfImplPhase;
	}

	public String getCentralGrantsOfImplPhase() {
		return centralGrantsOfImplPhase;
	}

	public void setCentralGrantsOfImplPhase(String centralGrantsOfImplPhase) {
		this.centralGrantsOfImplPhase = centralGrantsOfImplPhase;
	}

	public String getLocalGovernOfImplPhase() {
		return localGovernOfImplPhase;
	}

	public void setLocalGovernOfImplPhase(String localGovernOfImplPhase) {
		this.localGovernOfImplPhase = localGovernOfImplPhase;
	}

	public String getAnnualFunds() {
		return annualFunds;
	}

	public void setAnnualFunds(String annualFunds) {
		this.annualFunds = annualFunds;
	}

	public String getCentralGrantsOfAnnualFunds() {
		return centralGrantsOfAnnualFunds;
	}

	public void setCentralGrantsOfAnnualFunds(String centralGrantsOfAnnualFunds) {
		this.centralGrantsOfAnnualFunds = centralGrantsOfAnnualFunds;
	}

	public String getLocalGovernOfAnnualFunds() {
		return localGovernOfAnnualFunds;
	}

	public void setLocalGovernOfAnnualFunds(String localGovernOfAnnualFunds) {
		this.localGovernOfAnnualFunds = localGovernOfAnnualFunds;
	}

	public String getProjectStatus() {
		return projectStatus;
	}

	public void setProjectStatus(String projectStatus) {
		this.projectStatus = projectStatus;
	}

	public Integer getTimesOfReport() {
		return timesOfReport;
	}

	public void setTimesOfReport(Integer timesOfReport) {
		this.timesOfReport = timesOfReport;
	}

	public String getCommitTime() {
		return commitTime;
	}

	public void setCommitTime(String commitTime) {
		this.commitTime = commitTime;
	}
	
	
	public String getAuditResult() {
		return auditResult;
	}

	public void setAuditResult(String auditResult) {
		this.auditResult = auditResult;
	}

	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	

	public String getUpdator() {
		return updator;
	}

	public void setUpdator(String updator) {
		this.updator = updator;
	}
	
	public List<TargetsOfImplPhaseEntity> getTargetPhaseList() {
		return targetPhaseList;
	}

	public void setTargetPhaseList(List<TargetsOfImplPhaseEntity> targetPhaseList) {
		this.targetPhaseList = targetPhaseList;
	}

	public List<AuditEntity> getAuditList() {
		return auditList;
	}

	public void setAuditList(List<AuditEntity> auditList) {
		this.auditList = auditList;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	/**
	 * 传输类转化成实体类
	 */
	public ReportEntity toEntity(){
		ReportEntity reportEntity = new ReportEntity();
		PtasObjectUtil.oldToNew(reportEntity, this, "serialVersionUID");
		return reportEntity;
	}
	
	/**
	 * 实体类转化成传输类
	 */
	public void toreportData(ReportEntity reportEntity){
		PtasObjectUtil.oldToNew(this, reportEntity, "serialVersionUID");
	}
	
}
